/**
 * 
 */
package com.ofek.eventos.db.datatypes.newer;

import java.io.Serializable;

/**
 * @author Ofek
 *
 */
public class Request implements Serializable {
	public static final String ADD_OR_UPDATE = "addOrUpdate";
	public static final String REMOVE = "remove";
	public String what;
	public Serializable extra;
	public Request(final String what, final Serializable extra) {
		this.what = what;
		this.extra = extra;
	}
	/**
	 * 
	 */
	public Request() {
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "["+what+","+extra.toString()+"]";
	}
}
